package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 加盟门店初始成本表
 * </p>
 *
 * @author Atlakyn
 * @since 2021-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("d_store_first_cost")
public class StoreFirstCost extends Model<StoreFirstCost> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer storeId;

    private String storeName;

    /**
     * 初始成本-装修
     */
    private Long zhuangXiu;

    /**
     * 初始成本-软装
     */
    private Long ruanZhuang;

    /**
     * 初始成本-设备
     */
    private Long sheBei;

    /**
     * 初始成本-其他
     */
    private Long qiTa;

    /**
     * 装修明细
     */
    private String zhuangXiuDetail;

    /**
     * 软装明细
     */
    private String ruanZhuangDetail;

    /**
     * 设备明细
     */
    private String sheBeiDetail;

    /**
     * 其他明细
     */
    private String qiTaDetail;

    /**
     * 备注
     */
    private String fRemark;

    private Date addTime;

    private Date updateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
